3.64 \(\int \sqrt{a \sec ^4(x)} \, dx\)

Optimal. Leaf size=15 \[ \sin (x) \cos (x) \sqrt{a \sec ^4(x)} \]

[Out]

Cos[x]*Sqrt[a*Sec[x]^4]*Sin[x]

________________________________________________________________________________________

Rubi [A]  time = 0.0158969, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {4123, 3767, 8} \[ \sin (x) \cos (x) \sqrt{a \sec ^4(x)} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[a*Sec[x]^4],x]

[Out]

Cos[x]*Sqrt[a*Sec[x]^4]*Sin[x]

Rule 4123

Int[((b_.)*((c_.)*sec[(e_.) + (f_.)*(x_)])^(n_))^(p_), x_Symbol] :> Dist[(b^IntPart[p]*(b*(c*Sec[e + f*x])^n)^
FracPart[p])/(c*Sec[e + f*x])^(n*FracPart[p]), Int[(c*Sec[e + f*x])^(n*p), x], x] /; FreeQ[{b, c, e, f, n, p},
 x] &&  !IntegerQ[p]

Rule 3767

Int[csc[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[ExpandIntegrand[(1 + x^2)^(n/2 - 1), x]
, x], x, Cot[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[n/2, 0]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin{align*} \int \sqrt{a \sec ^4(x)} \, dx &=\left (\cos ^2(x) \sqrt{a \sec ^4(x)}\right ) \int \sec ^2(x) \, dx\\ &=-\left (\left (\cos ^2(x) \sqrt{a \sec ^4(x)}\right ) \operatorname{Subst}(\int 1 \, dx,x,-\tan (x))\right )\\ &=\cos (x) \sqrt{a \sec ^4(x)} \sin (x)\\ \end{align*}

Mathematica [A]  time = 0.0054477, size = 15, normalized size = 1. \[ \sin (x) \cos (x) \sqrt{a \sec ^4(x)} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[a*Sec[x]^4],x]

[Out]

Cos[x]*Sqrt[a*Sec[x]^4]*Sin[x]

________________________________________________________________________________________

Maple [A]  time = 0.063, size = 14, normalized size = 0.9 \begin{align*} \cos \left ( x \right ) \sin \left ( x \right ) \sqrt{{\frac{a}{ \left ( \cos \left ( x \right ) \right ) ^{4}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*sec(x)^4)^(1/2),x)

[Out]

cos(x)*sin(x)*(a/cos(x)^4)^(1/2)

________________________________________________________________________________________

Maxima [A]  time = 1.73949, size = 8, normalized size = 0.53 \begin{align*} \sqrt{a} \tan \left (x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)^4)^(1/2),x, algorithm="maxima")

[Out]

sqrt(a)*tan(x)

________________________________________________________________________________________

Fricas [A]  time = 1.36385, size = 43, normalized size = 2.87 \begin{align*} \sqrt{\frac{a}{\cos \left (x\right )^{4}}} \cos \left (x\right ) \sin \left (x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)^4)^(1/2),x, algorithm="fricas")

[Out]

sqrt(a/cos(x)^4)*cos(x)*sin(x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{a \sec ^{4}{\left (x \right )}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)**4)**(1/2),x)

[Out]

Integral(sqrt(a*sec(x)**4), x)

________________________________________________________________________________________

Giac [A]  time = 1.2576, size = 8, normalized size = 0.53 \begin{align*} \sqrt{a} \tan \left (x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sec(x)^4)^(1/2),x, algorithm="giac")

[Out]

sqrt(a)*tan(x)